﻿using System;
using System.Collections.Generic;
using System.Reactive.Linq;

namespace Callisto.Infrastructure
{
    public interface IRepository
    {
        IObservable<object> Get(Guid id);
        IObservable<object> GetList();
        void Delete(Guid id);

    }

    public interface IRepository<T> : IRepository
        where T : class
    {
        new IObservable<T> Get(Guid id);
        new IObservable<T> GetList();
    }
}
